﻿using Core.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.Entities
{
    /// <summary>
    /// 创建子写入器时由格式化器提供的子写入器信息
    /// </summary>
    public class CreateChildrenWriterInfo
    {
        /// <summary>
        /// 指定需要创建的 Writer 类型
        /// </summary>
        public RWTypes? ObjectType;
        /// <summary>
        /// 指定在父级中的名称
        /// </summary>
        public string Name;
        /// <summary>
        /// 指定在父级中的索引
        /// </summary>
        public int? Index;
        /// <summary>
        /// 指定数组的长度
        /// </summary>
        public int[] Lengths;
    }
}
